package github.flandre.examplemod.common.config;

import net.minecraftforge.common.ForgeConfigSpec;

public final class exampleconfig {
    public static final ForgeConfigSpec.Builder BUILDER = new ForgeConfigSpec.Builder();
    public static final ForgeConfigSpec SPEC;

    public static final ForgeConfigSpec.ConfigValue<Integer> example_integer;
    public static final ForgeConfigSpec.ConfigValue<String> example_string;
    public static final ForgeConfigSpec.ConfigValue<Boolean> example_boolean;

    static {
        BUILDER.push("Config for example mod");

        example_integer = BUILDER.comment("this is a integer ,Default value is 3.").defineInRange("Example Integer",3,0,100);
        example_string = BUILDER.comment("this is a string ,Default value is \"null\".").define("Example string","null");
        example_boolean = BUILDER.comment("this is a boolean ,Default value is \"true\".").define("Example boolean", true);

        BUILDER.pop();
        SPEC = BUILDER.build();
    }

}
